﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Ivy.SiteAdmin.Entity;

namespace Ivy.SiteAdmin.IBusinessLogic
{
   public interface ISiteAdminBus
    {
        /// <ResourceStat>
       /// 
        /// </ResourceStat>
       /// <param name="ResourceStatEntity"></param>
       /// <returns></returns>
        bool AddNewResource(ResourceStat ResourceStatEntity);
        bool UpdateResource(ResourceStat ResourceStatEntity);
        ResourceStat GetSelectedResourceByKey(int ResourceKey);

        /// <SubscriptionMaster>
       /// 
        /// </SubscriptionMaster>
       /// <param name="SubscriptionMasterEntity"></param>
       /// <returns></returns>
        bool RegisterNewSubscription(SubscriptionMaster SubscriptionMasterEntity);
        SubscriptionMaster GetBySubscribKey(int SubscribKey);
        bool UpdateRegistedSubscription(SubscriptionMaster SubscriptionMasterEntity);
        List<SubscriptionMaster> GetAllSubscription();

        /// <ContactRequestRegister>
        /// 
        /// </ContactRequestRegister>
        /// <param name="ContactRequestRegisterEntity"></param>
        /// <returns></returns>
        bool RegisterNewContactRequest(ContactRequestRegister ContactRequestRegisterEntity);
        bool UpdateRegisteredContactRequest(ContactRequestRegister ContactRequestRegisterEntity);
        ContactRequestRegister GetSelectedContactRequestByKey(int ContactRequestKey);
        List<ContactRequestRegister> GetAllContactRequestRegister();

    }
}
